package com.zyw.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 加载yml中上传文件所需要的配置信息
 */

@Component
@ConfigurationProperties(prefix = "aliyun.upload")
@Data
public class UploadProperties {


    private String endpoint ;
    private String accessKeyId ;
    private String accessKeySecret;

    private String bucketName;
    private String expire;

//    private static String key = "*** Provide key ***";
}
